<!DOCTYPE html>
<html lang="en">
<head>
<title>Google Maps Library: GMLib.Map.Vcl: Class TGMMap</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.15.0">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Google Maps Library</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><a href="GVUses.png">Unit dependency graph</a></li><li><a href="GVClasses.png">Classes hierarchy graph</a></li><li><form class="search-form" action="_tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<table class="container">
<tr>
<td><i><a href="http://www.cadetill.com" target="_blank">cadetill's blog</a></i></td>
<td align ="right"><i>Copyright &copy; Xavier Mart&iacute;nez (cadetill)</i></td>
</tr>
</table>
<hr noshade="" size="1">
<span id="TGMMap"></span><h1 class="cio">Class TGMMap</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="GMLib.Map.Vcl.html">GMLib.Map.Vcl</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TGMMap = class(<a class="normal" href="GMLib.Map.TGMCustomMap.html">TGMCustomMap</a>)</code></p>
<h2 class="description">Description</h2>
<p>
Base class for <code>google.maps.Map</code> class.</p>
<p>


<p>Implements <code><a class="normal" href="GMLib.Classes.IGMExecJS.html">IGMExecJS</a></code> and <code><a class="normal" href="GMLib.Classes.IGMControlChanges.html">IGMControlChanges</a></code> interfaces.<br><br>

<p>More information at <a href="https://developers.google.com/maps/documentation/javascript/reference/map#Map">google.maps.Map class</a> </p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor">TPersistent</li>
<li class="ancestor">TComponent</li>
<li class="ancestor"><a class="normal" href="GMLib.Classes.TGMComponent.html">TGMComponent</a></li>
<li class="ancestor"><a class="normal" href="GMLib.Map.TGMCustomMap.html">TGMCustomMap</a></li>
<li class="thisitem">TGMMap</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="GMLib.Map.Vcl.TGMMap.html#Create">Create</a></strong>(AOwner: TComponent); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="GMLib.Map.Vcl.TGMMap.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.Map.Vcl.TGMMap.html#GetJsonFromHTMLForms">GetJsonFromHTMLForms</a></strong>: string; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="GMLib.Map.Vcl.TGMMap.html#PropToString">PropToString</a></strong>: string; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.Map.Vcl.TGMMap.html#Assign">Assign</a></strong>(Source: TPersistent); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.Map.Vcl.TGMMap.html#SetCenterProperty">SetCenterProperty</a></strong>(LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>); override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.Map.Vcl.TGMMap.html#SetEnableTimer">SetEnableTimer</a></strong>(State: Boolean); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.Map.Vcl.TGMMap.html#SetIntervalTimer">SetIntervalTimer</a></strong>(Interval: Integer); override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.Map.Vcl.TGMMap.html#SetMapTypeIdProperty">SetMapTypeIdProperty</a></strong>(MapTypeId: <a href="GMLib.Sets.html#TGMMapTypeId">TGMMapTypeId</a>); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="GMLib.Map.Vcl.TGMMap.html#SetZoomProperty">SetZoomProperty</a></strong>(Zoom: Integer); override;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>property <strong><a href="GMLib.Map.Vcl.TGMMap.html#MapOptions">MapOptions</a></strong>: <a href="GMLib.Map.Vcl.TGMMapOptions.html">TGMMapOptions</a> read FMapOptions write FMapOptions;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(AOwner: TComponent); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Class constructor.</p>
<p>


<p>Creates a <a class="normal" href="GMLib.Map.TGMCustomMap.html">TGMCustomMap</a> object.

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>AOwner</dt>
<dd>Owner of the object.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Destructor class.</p>
<p>
 </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetJsonFromHTMLForms"></span><code>function <strong>GetJsonFromHTMLForms</strong>: string; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Reads all fields of all HTML forms and returns a Json with their values.</p>
<p>


<p> </p>
<h6 class="description_section">Returns</h6>
<p class="return">Json with the info.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="PropToString"></span><code>function <strong>PropToString</strong>: string; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Converts all class properties values to a string separated by comma used to send values to a JavaScript function.

<p></p>
<h6 class="description_section">Returns</h6>
<p class="return">string with all properties.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Assign"></span><code>procedure <strong>Assign</strong>(Source: TPersistent); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Call <code>Assign</code> to copy the properties or other attributes form an object to another.</p>
<p>


<p>The standard form of a call to <code>Assign</code> method is <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>Destination.Assign(Source);</code> <br> which tells the <code>Destination</code> object to copy the contents of the <code>Source</code> object to itself.

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Source</dt>
<dd>Object to copy the content.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetCenterProperty"></span><code>procedure <strong>SetCenterProperty</strong>(LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Assigns the new map center value readed from HTML map code.</p>
<p>


<p>@params LatLng The new <a class="normal" href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a></p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetEnableTimer"></span><code>procedure <strong>SetEnableTimer</strong>(State: Boolean); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Enables or disables the Timer that controls the map events.</p>
<p>


<p>For internal use.

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>State</dt>
<dd>Value to be set to Timer status</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetIntervalTimer"></span><code>procedure <strong>SetIntervalTimer</strong>(Interval: Integer); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Set the interval of Timer that control de map events.</p>
<p>


<p>Internal use only.

<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Interval</dt>
<dd>Interval in miliseconds</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetMapTypeIdProperty"></span><code>procedure <strong>SetMapTypeIdProperty</strong>(MapTypeId: <a href="GMLib.Sets.html#TGMMapTypeId">TGMMapTypeId</a>); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Assigns the new MapTypeId value readed from HTML map code.</p>
<p>


<p>@params MapTypeId The new <a class="normal" href="GMLib.Sets.html#TGMMapTypeId">TGMMapTypeId</a></p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetZoomProperty"></span><code>procedure <strong>SetZoomProperty</strong>(Zoom: Integer); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Assigns the new Zoom value readed from HTML map code.</p>
<p>


<p>@params Zoom The new zoom</p>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="MapOptions"></span><code>property <strong>MapOptions</strong>: <a href="GMLib.Map.Vcl.TGMMapOptions.html">TGMMapOptions</a> read FMapOptions write FMapOptions;</code></td>
</tr>
<tr><td colspan="2">
<p>
Base class for <code>google.maps.MapOptions</code> object from Google Maps API.</p>
<p>


<p>This class implements <code><a class="normal" href="GMLib.Classes.IGMControlChanges.html">IGMControlChanges</a></code> interface. More information at <a href="https://developers.google.com/maps/documentation/javascript/reference/map#MapOptions">google.maps.MapOptions interface</a> </p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://github.com/pasdoc/pasdoc/wiki">PasDoc 0.15.0</a>. </em>
</span>
</div></div></body></html>
